using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerState_TopBase : PlayerStateBase
{
    public PlayerState_TopBase(StateMachine stateMachine, Player player, string animName) : base(stateMachine, player, animName)
    {

    }

    public override void OnFixedUpdate()
    {
        base.OnFixedUpdate();
        rb.gravityScale = player.topGravityScale;
    }
}
